#login-openid-or {
    display: block;
    position: relative;
    height: 100px;
    color: #bbbbbb;
    font-size: 12px;

    > span {
        position: absolute;
        top: 50%;
        left: 50%;
        padding: 0 10px;
        transform: translate(-50%, -50%);
        background: #ffffff;
        white-space: nowrap;
        z-index: 2;
    }

    &::before {
        position: absolute;
        top: 50%;
        left: 0;
        width: 100%;
        height: 1px;
        border-top: 1px solid #f1f1f1;
        content: '';
        z-index: 1;
    }
}

#login-openid-providers-list {
    > a {
        display: block;
        width: 50%;
        margin: 0 auto 10px;
        padding: 18px 5px;
        font-size: 16px;
        line-height: normal;
        box-sizing: border-box;

        > i {
            margin: 0 3px 0 0;
            font-size: 18px;
        }
    }

    > a:first-child:nth-last-child(1) {
        width: 100%;
        margin: 0;
    }

    > a:first-child:nth-last-child(2),
    > a:first-child:nth-last-child(2) ~ a {
        display: inline-block;
        width: 49%;

        &:first-child {
            margin: 0 1% 0 0;
        }

        &:last-child {
            margin: 0 0 0 1%;
        }
    }

    > a:first-child:nth-last-child(4),
    > a:first-child:nth-last-child(4) ~ a {
        display: inline-block;
        width: 49%;

        &:nth-child(2n+1) {
            margin: 0 1% 10px 0;
        }

        &:nth-child(2n) {
            margin: 0 0 10px 1%;
        }
    }
}
